home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr44 / modex32w.zip / README.X32 < prev    next >
Text File  |  1995-02-21  |  2KB  |  57 lines

  1. /*  Here are Michael Abrash's XMODE routines, converted to 32 bit
  2.     protected mode, currently all tested for PMC extender.
  3.  
  4.  *  Voila!  They now work with Watcom C/C++ 10.0+
  5.  
  6.     The only functions not yet tested are
  7.         CopyScreenToScreenMaskedX
  8.         CreateAlignedMaskedImageX  (2)
  9.  
  10.  *  (2) is provided as a C file (as Abrash did) and hence is compilable
  11.     with WC.
  12.  *  (2) Previously this was provided as an asm file, but no more.
  13.  
  14.     Note that I have added some palette functions, two in fact,
  15.     and also modified the ShowPage to work with smooth vertical
  16.     and horizontal scrolling.  In addition I moved some static data
  17.     to global space to save a few bytes of space.
  18.  
  19.  *  Since PMODE is now out in its Watcom version, I decided to
  20.     finally make the changeover of this code.
  21.  
  22.  *  Disclaimer: The conversion may not be the most optimal. Further
  23.     I will not be responsible for any damaging consequences of using
  24.     this, and I assume neither will Michael Abrash whose routines
  25.     they were before the conversion process.
  26.  
  27.     This is released to FreeWare, and as such no cost is attached to
  28.     product.  Please mention appropriate copyrights when using these
  29.     routines and give credit to where it's due.
  30.  
  31.     (c) 1994, 1995 Kumanan Yogaratnam, all changes made.
  32.  
  33.     Note: If any of you out there is able to optimize this better,
  34.     then please let me know at
  35.                 kyogarat@chat.carleton.ca
  36.     where I will reside for atleast the next four years.
  37.  
  38.  *  In addition there is a simple sample program, testc2w.c, which
  39.     uses the tut.raw file.  The tut file is actually
  40.     converted from DeluxPaint II's artwork files.
  41.  
  42.  *  I've also provided one watcom library file (x32w.lib) which
  43.     was created using wlib.  The assembler files were assembled
  44.     using tasm, and the c file compiled with wcl.
  45.  
  46.  *  Note that mkalign.c is not in the x32w.lib.  This is because it
  47.     uses malloc() and other WC functions, and compiling with either
  48.     stack or reg arguments affects those call modes.  So make the
  49.     obj file yourself.
  50.  
  51.  *  Also, compiling in register param. doesn't work unless all
  52.     optimizations are disabled using /od.  I'm sure experimentation
  53.     will isolate the more specific optimization, and if anyone has
  54.     the patience to do it, let me know.
  55. */
  56.  
  57.